package Job.book.book;

public class Book {
    private int bookId;
    private String bookName;
    private String press;
    private double price;

    public int getBookId() {
        return bookId;
    }
    public void setBookId(int bookId) {
        this.bookId = bookId;
    }
    public String getBookName() {
        return bookName;
    }
    public void setBookName(String bookName) {
        this.bookName = bookName;
    }
    public String getPress() {
        return press;
    }
    public void setPress(String press) {
        this.press = press;
    }
    public double getPrice() {
        return price;
    }
    public void setPrice(double price) {
        this.price = price;
    }

    public Book(int bookId, String bookName, String press, double price) {
        this.setBookId(bookId);
        this.setBookName(bookName);
        this.setPress(press);
        this.setPrice(price);
    }

    public Book() {
    }

    public String report(){
        String info = String.format("图书编号  图书名称  出版社    定价");
        return info;
    }
}
